#include<stdio.h>
int main()
{
	FILE* pf=fopen("data.txt","a");
	if(pf==NULL)
		return 1;
	const char* msg="hello c\n";
	fputs(msg,pf);
	fclose(pf);
	return 0;
}
